<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>resetps: xresetps.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">resetps
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xresetps_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xresetps.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_reset_ps___config.html">XResetPs_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the device.  <a href="struct_x_reset_ps___config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_reset_ps.html">XResetPs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_reset_ps.html" title="The XResetPs driver instance data. ">XResetPs</a> driver instance data.  <a href="struct_x_reset_ps.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac84616329b152d481719ec191489af72"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gac84616329b152d481719ec191489af72">XRESETPS_SUPPORTED_ACT</a>(ResetSupport, PulseSupport, AssertSupport)&#160;&#160;&#160;((ResetSupport &lt;&lt; 2) | (PulseSupport &lt;&lt; 1) | AssertSupport)</td></tr>
<tr class="memdesc:gac84616329b152d481719ec191489af72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set supported reset action.  <a href="group__resetps.html#gac84616329b152d481719ec191489af72">More...</a><br/></td></tr>
<tr class="separator:gac84616329b152d481719ec191489af72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf462cbc24020a687d206a711e8d0a82"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gabf462cbc24020a687d206a711e8d0a82">XRESETPS_CHK_ASSERT_SUPPORT</a>(Actions)&#160;&#160;&#160;((Actions &amp; 0x1))</td></tr>
<tr class="memdesc:gabf462cbc24020a687d206a711e8d0a82"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if assert/dessert reset is supported.  <a href="group__resetps.html#gabf462cbc24020a687d206a711e8d0a82">More...</a><br/></td></tr>
<tr class="separator:gabf462cbc24020a687d206a711e8d0a82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e0e8086d2165c87d0e772870efb69ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga4e0e8086d2165c87d0e772870efb69ca">XRESETPS_CHK_PULSE_SUPPORT</a>(Actions)&#160;&#160;&#160;((Actions &amp; 0x2) &gt;&gt; 1)</td></tr>
<tr class="memdesc:ga4e0e8086d2165c87d0e772870efb69ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if pulse reset is supported.  <a href="group__resetps.html#ga4e0e8086d2165c87d0e772870efb69ca">More...</a><br/></td></tr>
<tr class="separator:ga4e0e8086d2165c87d0e772870efb69ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3448c0dcb52799633e53c8cfd8d3dca9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga3448c0dcb52799633e53c8cfd8d3dca9">XRESETPS_CHK_STATUS_SUPPORT</a>(Actions)&#160;&#160;&#160;((Actions &amp; 0x4) &gt;&gt; 2)</td></tr>
<tr class="memdesc:ga3448c0dcb52799633e53c8cfd8d3dca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if Status check is supported.  <a href="group__resetps.html#ga3448c0dcb52799633e53c8cfd8d3dca9">More...</a><br/></td></tr>
<tr class="separator:ga3448c0dcb52799633e53c8cfd8d3dca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa78ef37a8192ac9c0473ffccc38eb65"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gaaa78ef37a8192ac9c0473ffccc38eb65">XResetPs_ReadReg</a>(RegAddress)&#160;&#160;&#160;Xil_In32((u32)RegAddress)</td></tr>
<tr class="memdesc:gaaa78ef37a8192ac9c0473ffccc38eb65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the given register.  <a href="group__resetps.html#gaaa78ef37a8192ac9c0473ffccc38eb65">More...</a><br/></td></tr>
<tr class="separator:gaaa78ef37a8192ac9c0473ffccc38eb65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50fdb585f27cbd1efa5730724431c2fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga50fdb585f27cbd1efa5730724431c2fc">XResetPs_WriteReg</a>(RegAddress, Data)&#160;&#160;&#160;Xil_Out32((u32)RegAddress, (u32)Data)</td></tr>
<tr class="memdesc:ga50fdb585f27cbd1efa5730724431c2fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the given register.  <a href="group__resetps.html#ga50fdb585f27cbd1efa5730724431c2fc">More...</a><br/></td></tr>
<tr class="separator:ga50fdb585f27cbd1efa5730724431c2fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga5a52351208e345e52c54b29dffa0b8ee"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga5a52351208e345e52c54b29dffa0b8ee">XResetPs_PulseTypes</a> { <a class="el" href="group__resetps.html#gga5a52351208e345e52c54b29dffa0b8eeaa0e91ee18fb22a245a877ca80d29bfe1">XRESETPS_PT_NO_DLY_NO_PSCHK</a>, 
<a class="el" href="group__resetps.html#gga5a52351208e345e52c54b29dffa0b8eeab6e96b8f5d634a986618625a0e71b3df">XRESETPS_PT_DLY_NO_PSCHK</a>, 
<a class="el" href="group__resetps.html#gga5a52351208e345e52c54b29dffa0b8eea4c848b7744fa9748cf956d5db1166475">XRESETPS_PT_DLY_PSCHK</a>, 
<a class="el" href="group__resetps.html#gga5a52351208e345e52c54b29dffa0b8eea6a552c4d472e802f81447c916b2b8473">XRESETPS_PT_INVALID</a>
 }</td></tr>
<tr class="memdesc:ga5a52351208e345e52c54b29dffa0b8ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef defines type of pulse reset to be executed for peripherals.  <a href="group__resetps.html#ga5a52351208e345e52c54b29dffa0b8ee">More...</a><br/></td></tr>
<tr class="separator:ga5a52351208e345e52c54b29dffa0b8ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabeeb630168989c49bd8a960c0527041c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gabeeb630168989c49bd8a960c0527041c">XresetPs_ResetAction</a> </td></tr>
<tr class="memdesc:gabeeb630168989c49bd8a960c0527041c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef defines reset actions on the peripherals.  <a href="group__resetps.html#gabeeb630168989c49bd8a960c0527041c">More...</a><br/></td></tr>
<tr class="separator:gabeeb630168989c49bd8a960c0527041c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2a8fda4fe9a2b1b31fc9bab21478b42"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gae2a8fda4fe9a2b1b31fc9bab21478b42">XResetPs_RstId</a> </td></tr>
<tr class="memdesc:gae2a8fda4fe9a2b1b31fc9bab21478b42"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef defines resetIDs of peripherals maps to PMUFW resetIDs.  <a href="group__resetps.html#gae2a8fda4fe9a2b1b31fc9bab21478b42">More...</a><br/></td></tr>
<tr class="separator:gae2a8fda4fe9a2b1b31fc9bab21478b42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga817684309b117563ee54a4237f505ad6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga817684309b117563ee54a4237f505ad6">XResetPs_RstStatus</a> </td></tr>
<tr class="memdesc:ga817684309b117563ee54a4237f505ad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef defines possible values for reset status of peripherals.  <a href="group__resetps.html#ga817684309b117563ee54a4237f505ad6">More...</a><br/></td></tr>
<tr class="separator:ga817684309b117563ee54a4237f505ad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga78d0522f1b5ba2524d73c93896433404"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_reset_ps___config.html">XResetPs_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga78d0522f1b5ba2524d73c93896433404">XResetPs_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga78d0522f1b5ba2524d73c93896433404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lookup the device configuration based on the unique device ID.  <a href="group__resetps.html#ga78d0522f1b5ba2524d73c93896433404">More...</a><br/></td></tr>
<tr class="separator:ga78d0522f1b5ba2524d73c93896433404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa07a2af5abb40332c21bb77963841dcd"><td class="memItemLeft" align="right" valign="top">XStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gaa07a2af5abb40332c21bb77963841dcd">XResetPs_CfgInitialize</a> (<a class="el" href="struct_x_reset_ps.html">XResetPs</a> *InstancePtr, <a class="el" href="struct_x_reset_ps___config.html">XResetPs_Config</a> *ConfigPtr)</td></tr>
<tr class="memdesc:gaa07a2af5abb40332c21bb77963841dcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a specific reset controller instance/driver.  <a href="group__resetps.html#gaa07a2af5abb40332c21bb77963841dcd">More...</a><br/></td></tr>
<tr class="separator:gaa07a2af5abb40332c21bb77963841dcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga65cfe2715d69c8cd2f34300478107501"><td class="memItemLeft" align="right" valign="top">XStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga65cfe2715d69c8cd2f34300478107501">XResetPs_ResetAssert</a> (<a class="el" href="struct_x_reset_ps.html">XResetPs</a> *InstancePtr, const <a class="el" href="group__resetps.html#gae2a8fda4fe9a2b1b31fc9bab21478b42">XResetPs_RstId</a> ResetID)</td></tr>
<tr class="memdesc:ga65cfe2715d69c8cd2f34300478107501"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assert reset for specific peripheral based on reset ID.  <a href="group__resetps.html#ga65cfe2715d69c8cd2f34300478107501">More...</a><br/></td></tr>
<tr class="separator:ga65cfe2715d69c8cd2f34300478107501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4bddc4ee235a6971cc1e488cc265fb77"><td class="memItemLeft" align="right" valign="top">XStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga4bddc4ee235a6971cc1e488cc265fb77">XResetPs_ResetDeassert</a> (<a class="el" href="struct_x_reset_ps.html">XResetPs</a> *InstancePtr, const <a class="el" href="group__resetps.html#gae2a8fda4fe9a2b1b31fc9bab21478b42">XResetPs_RstId</a> ResetID)</td></tr>
<tr class="memdesc:ga4bddc4ee235a6971cc1e488cc265fb77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deassert reset for specific peripheral based on reset ID.  <a href="group__resetps.html#ga4bddc4ee235a6971cc1e488cc265fb77">More...</a><br/></td></tr>
<tr class="separator:ga4bddc4ee235a6971cc1e488cc265fb77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad814235db40b178bbd7834e8c95e6da3"><td class="memItemLeft" align="right" valign="top">XStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#gad814235db40b178bbd7834e8c95e6da3">XResetPs_ResetPulse</a> (<a class="el" href="struct_x_reset_ps.html">XResetPs</a> *InstancePtr, const <a class="el" href="group__resetps.html#gae2a8fda4fe9a2b1b31fc9bab21478b42">XResetPs_RstId</a> ResetID)</td></tr>
<tr class="memdesc:gad814235db40b178bbd7834e8c95e6da3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pulse reset for specific peripheral based on reset ID.  <a href="group__resetps.html#gad814235db40b178bbd7834e8c95e6da3">More...</a><br/></td></tr>
<tr class="separator:gad814235db40b178bbd7834e8c95e6da3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga235e646a14d31e1136808857810947ab"><td class="memItemLeft" align="right" valign="top">XStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__resetps.html#ga235e646a14d31e1136808857810947ab">XResetPs_ResetStatus</a> (<a class="el" href="struct_x_reset_ps.html">XResetPs</a> *InstancePtr, const <a class="el" href="group__resetps.html#gae2a8fda4fe9a2b1b31fc9bab21478b42">XResetPs_RstId</a> ResetID, <a class="el" href="group__resetps.html#ga817684309b117563ee54a4237f505ad6">XResetPs_RstStatus</a> *Status)</td></tr>
<tr class="memdesc:ga235e646a14d31e1136808857810947ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get reset status for specific peripheral based on reset ID.  <a href="group__resetps.html#ga235e646a14d31e1136808857810947ab">More...</a><br/></td></tr>
<tr class="separator:ga235e646a14d31e1136808857810947ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
